package com.clear.club.circle.server.service;

import com.clear.club.circle.api.common.PageResult;
import com.clear.club.circle.api.req.GetMomentsReq;
import com.clear.club.circle.api.req.RemoveMomentCircleReq;
import com.clear.club.circle.api.req.SaveMomentCircleReq;
import com.clear.club.circle.api.vo.ShareMomentVO;
import com.clear.club.circle.server.entity.po.ShareMoment;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 动态信息 服务类
 * </p>
 *
 * @author 宁洪康
 * @since 2024-07-03
 */
public interface IShareMomentService extends IService<ShareMoment> {

    /**
     * 发布内容
     */
    Boolean saveMoment(SaveMomentCircleReq req);

    /**
     * 删除动态内容
     */
    Boolean removeMoment(RemoveMomentCircleReq req);

    /**
     * 分页查询动态内容
     */
    PageResult<ShareMomentVO> getMoments(GetMomentsReq req);

}
